package mytest;

import context.ApplicationContext;
import context.support.DefaultApplicationContext;
import mytest.service.ITestServer;


public class main {
    public static void main(String[] args) {

        ApplicationContext applicationContext = new DefaultApplicationContext("application.properties");
        ITestServer testServer = (ITestServer)applicationContext.getBean("mytest.service.TestServer1");
        testServer.test();

    }
}
